package com.bjsxt.livegoods.search.serviceapi;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 搜索服务标准接口
 */
public interface SearchServiceAPI {

    @GetMapping
    Map<String,Object> searchProducts(@RequestParam("city") String city,
                                      @RequestParam("content") String content,
                                      @RequestParam("page") int page,
                                      @RequestParam("rows") int rows);
}
